<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!doctype html>
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>图片查看器</title>
    
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<style type="text/css">
		body {margin: 0 auto}
		div {margin: 0 auto; text-align: center;}
		img {vertical-align: middle;}
	</style>
  </head>  
  <body>
    <div>
    	<img alt="${attachment.fileName }" src="../atta/${attachment.filePath }">
    </div>
  </body>
</html>
